package service;

import org.apache.ibatis.annotations.Param;
import entity.StorageRecord;
import utils.Page;

public interface StorageRecordService {
    //新增入库单
    public boolean add(StorageRecord storageRecord);

    //根据入库单id修改入库单
    public boolean update(StorageRecord storageRecord);

    //根据入库单id删除入库单
    public int delete(@Param("id") Integer id);

    public Page<StorageRecord> getPage(StorageRecord storageRecord, Integer pageNo, Integer pageSize);
    public StorageRecord getById(Long id);
    public StorageRecord getSrCode(@Param("srCode") String srCode);
}
